const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    port: 8080,
         allowedHosts: ['localhost', 'ca.cmxz.top', '8.138.147.109']
  },
  chainWebpack: config =>{
    config.plugin('html')
        .tap(args => {
          args[0].title = "计协电脑维修系统";
          return args;
        })
  }
})
